<?php
/**
 * Created by PhpStorm.
 * User: CYJiao
 * Date: 6/1/15
 * Time: 19:44
 */

?>
<style>
    .panel-body {
        overflow: hidden;
        padding: 0;
        margin: 0;
    }
</style>

<div class="easyui-layout" data-options="border:false,fit:true" style="height:65px;">
    <div data-options="region:'east',border:false" style="width: 160px; overflow: hidden;">
        <div class="easyui-panel" data-options="border:false" style="margin-top: 15px;">
            <a href="#" class="easyui-menubutton" data-options="menu:'#mm1'"><?php echo Yii::app()->session['true_name'];?>&nbsp;<?php echo $role;?></a>
            <img src="<?php echo $url;?>" style="height:40px;width: 40px;" alt="head_png" />
        </div>
        <div id="mm1" style="width:150px;">
            <div data-options="iconCls:'icon-doctor'" onclick="addTab('个人资料','<?php echo CController::createUrl('doctorPersonal/getInformation',array('pk_doctor_id'=>$doctorInfo->pk_fk_doctor_id)); ?>','icon-man')">个人资料</div>
            <div data-options="iconCls:'icon-qualification'" onclick="addTab('认证管理','<?php echo CController::createUrl('doctorPersonal/getQualification',array('pk_doctor_id'=>$doctorInfo->pk_fk_doctor_id)); ?>','icon-man')">认证管理</div>
            <div class="menu-sep"></div>
            <div data-options="iconCls:'icon-themes'">
                <span>更换主题</span>
                <div>
                    <div onclick="changeTheme('default');">默认主题</div>
                    <div onclick="changeTheme('ui-cupertino');">淡蓝主题</div>
                    <div onclick="changeTheme('gray');">灰色主题</div>
                    <div onclick="changeTheme('black');">黑色主题</div>
                    <div onclick="changeTheme('metro');">白色主题</div>
                    <div onclick="changeTheme('metro-blue');">绚蓝主题</div>
                    <div onclick="changeTheme('metro-green');">绚绿主题</div>
                    <div onclick="changeTheme('metro-orange');">绚橙主题</div>
                    <div onclick="changeTheme('metro-red');">绚红主题</div>
                    <div onclick="changeTheme('metro-gray');">绚灰主题</div>
                    <div onclick="changeTheme('ui-sunny');">阳光主题</div>
                    <div onclick="changeTheme('ui-dark-hive');">暗色主题</div>
                    <div onclick="changeTheme('ui-pepper-grinder');">米黄主题</div>
                </div>
            </div>
            <div class="menu-sep"></div>
            <div data-options="iconCls:'icon-help'" onclick="addTab('帮助文档','<?php echo CController::createUrl('site/getHelp'); ?>','icon-man')">帮助文档</div>
            <div data-options="iconCls:'icon-feedback'" onclick="addTab('反馈建议','<?php echo CController::createUrl('site/getFeedback'); ?>','icon-man')">反馈建议</div>
            <div data-options="iconCls:'icon-aboutUs'" onclick="addTab('关于我们','<?php echo CController::createUrl('site/getAboutUs'); ?>','icon-man')">关于我们</div>
            <div class="menu-sep"></div>
            <div data-options="iconCls:'icon-download'" onclick="addTab('产品下载','<?php echo CController::createUrl('site/getDownload'); ?>','icon-man')">产品下载</div>
            <div class="menu-sep"></div>
            <div data-options="iconCls:'icon-logout',href:'<?php echo CController::createUrl('site/logout'); ?>'">退出账户</div>
        </div>
    </div>
    <div data-options="region:'west',border:false" style="width: 240px;">
        <img src="<?php echo Yii::app()->request->baseUrl;?>/images/logo.png" style="height:35px;padding: 16px;" alt="O2O_Logo" />
    </div>
    <div data-options="region:'center',border:false">
        <div class="easyui-panel" data-options="border:false,fit:true" style="padding-top: 3px;">
            <div class="easyui-linkbutton" data-options="size:'large',iconCls:'icon-addPatient-small',iconAlign:'top',plain:true,border:false" onclick="addTab('添加患者','<?php echo CController::createUrl('patient/add'); ?>','icon-man')">添加患者</div>&nbsp;&nbsp;
            
            <!--<div class="easyui-linkbutton" data-options="size:'large',iconCls:'icon-addDoctor-small',iconAlign:'top',plain:true,border:false" onclick="addTab('添加医生','<?php echo $addDoctor; ?>','icon-man')">添加医生</div>&nbsp;&nbsp;-->

           
            <div class="easyui-linkbutton" data-options="size:'large',iconCls:'icon-workForum',iconAlign:'top',plain:true,border:false" onclick="addTab('工作圈','<?php echo CController::createUrl('community/content'); ?>','icon-man')">工作圈</div> &nbsp;&nbsp;
            <div class="easyui-linkbutton" data-options="size:'large',iconCls:'icon-medicine',iconAlign:'top',plain:true,border:false" onclick="addTab('药品管理','<?php  echo CController::createUrl("medicine/manage"); ?>','icon-man')">药品管理</div>
            <!--<div class="easyui-linkbutton" data-options="size:'large',iconCls:'icon-addDelegate-small',iconAlign:'top',plain:true,border:false" onclick="addTab('添加医代','<?php echo $addDelegate; ?>','icon-man')">添加医代</div>&nbsp;&nbsp;-->
<!--            <div class="easyui-linkbutton" data-options="border:true,plain:true"><h3>统计</h3></div>&nbsp;&nbsp;-->
<!--            <div class="easyui-linkbutton" data-options="border:true,plain:true"><h3>日程安排</h3></div>&nbsp;&nbsp;-->
<!--            <div class="easyui-linkbutton" data-options="border:true,plain:true"><h3>药品管理</h3></div>&nbsp;&nbsp;-->
            
        </div>
    </div>
</div>

